package dataservice.userdataservice;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.ArrayList;

import po.*;

public interface TeacherDataService  extends Remote{

	public void init() throws RemoteException;

	public void finish() throws RemoteException;

	public boolean insert(TeacherPO po) throws RemoteException;

	public boolean delete(String id) throws RemoteException;

	public boolean update(TeacherPO po) throws RemoteException;

	public TeacherPO find(String id) throws RemoteException;
	
	public ArrayList<TeacherPO> find(Institute institute) throws RemoteException;

}
